package inherintance;

public class MainClass{
	
	public static void main(String[] args){
		
		//instance of Player java class
		Player tennisplayer1 = new TennisPlayer();
		
		tennisplayer1.name = "Roni";
		tennisplayer1.team = "Gilas";
		tennisplayer1.Position = "Runner";
		System.out.println(tennisplayer1.getInformation());
		
		//instance of TennisPlayer java class
		TennisPlayer playeraction =  new TennisPlayer();
		playeraction.swingRacket();
		
		SoccerPlayer playeraction2 =  new SoccerPlayer();
		playeraction2.kickBall();
		
		
		PlayerManager pm = new PlayerManager();
		Player p = new TennisPlayer();
		pm.playerManager(p);
		
		
		
		
		
		
			
	}

}
